package com.aiti.lulian.entity;

import com.aiti.base.core.base.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @Author ZhouS
 * @CreateDate 2022-05-25
 * @Description:企业表
 */
@TableName("show_enterprise")
@Data
public class LuLianEnterprise extends BaseEntity {

    /**主键**/
    @TableId(value = "base_id",type = IdType.UUID)
    private String baseId;
    /**公司名字**/
    private String baseName;
    /**公司英文名字**/
    private String baseNameEn;
    /**统一社会信用代码**/
    private String unicode;
    /**企业类型**/
    private String registerType;
    /**经营模式**/
    private String manageModel;
    /**是否提供对外加工/定制**/
    private Integer isExternal;
    /**主营产品**/
    private String mainProducts;
    /**品牌名称**/
    private String brand;
    /**主要客户群体**/
    private String mainCustomerGroups;
    /**经营地址（国）**/
    private String  country;
    /**经营地址（省）**/
    private String province;
    /**经营地址（市）**/
    private String city;
    /**经营地址（区）**/
    private String county;
    @TableField(exist = false)
    /**经营地址（省）**/
    private String provinceName;
    @TableField(exist = false)
    /**经营地址（市）**/
    private String cityName;
    @TableField(exist = false)
    /**经营地址（区）**/
    private String countyName;

    @TableField(exist = false)
    private SysArea area;
    /**地图定位**/
    private String location;

    /**公司简介**/
    private String baseIntroduction;
    /**公司图片**/
    private String pic;
    /**生产能力**/
    /**研发部门人数**/
    private String developmentNum;
    /**月产量**/
    private String monthlyProduction;
    /**年营业额**/
    private String annualTurnover;
    /**年出口额**/
    private String annualExportVolume;
    /**质量控制**/
    private String qc;
    /**厂房面积**/
    private Double plantArea;
    /**成立年份**/
    private String year;
    /**公司网址**/
    private String webSite;
    /**注册资本**/
    private Double registerCapital;
    /**注册地**/
    private String address;
    /**法人**/
    private String legalPerson;
    /**开户银行**/
    private String bank;
    /**开户银行账号**/
    private String account;
    /**联系方式**/
    private String linkPhone;
    /**联系人**/
    private String linkMan;
    /**员工人数 **/
    private  String employeesNumber;
    /**月产量单位 **/
    private  String monthlyProductionUnit;
    /**加盟费 **/
    private String franchise;
    /**加盟费單位 **/
    private String franchiseUnit;
    /**基本投资额 **/
    private String investment;
    /**基本投资额单位 **/
    private String investmentUnit;
    /**最低销售额 **/
    private String minSales;
    /**最低销售额单位**/
    private String minSalesUnit;
    /**服务类型**/
    private String serviceType;
    /**是否认证**/
    private Boolean isAuth;
    /**经营范围**/
    private  String businessNature;
    /**成立日期**/
    private Date registerTime;
    /**企业经营期限**/
    private String enterpriseTerm;
    /**咨询电固话**/
    private String  fixedPhone;
    /**邮箱**/
    private String  email;
    /**联系地址**/
    private String contactAddress;

    /**创建时间**/
    private String  baseCreateTime;
    /**修改时间**/
    private String  baseUpdateTime;
    /**状态 0审核中1审核通过2审核驳回**/
    private String  status;
    /**VR链接**/
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String vrUrl;
    /**经度**/
    private String longitude;
    /**维度**/
    private String latitude;
    /**集群ID**/
    private String clusterId;
    /**是否龙头企业**/
    private Boolean  isLead;
    /**是否瞪羚企业**/
    private Boolean  isGazelle;
    /**是否单项冠军**/
    private Boolean  isChampion;
    /**是否专精特新**/
    private Boolean  isSpecial;
    /**是否小巨人**/
    private Boolean  isGiant;
    /**是否独角兽**/
    private Boolean  isUnicorn;
    /**是否高企**/
    private Boolean  isHightech;
    /**是否工业大牌**/
    private Boolean  isIndustryCard;
    //是否冶金矿产
    private Boolean  isMetallurgical;
    //是否生产厂家
    private Boolean  isManufacturer;
    //是否十年以上企业
    private Boolean  isOverTenYears;
    //是否十年以上企业
    private String  videoUrl;

    private Integer viewCount;
    /**行业**/
    private String tradeFirst;
    /**行业**/
    private String tradeSecond;
    /**规模**/
    private String scale;
    /**企业人数**/
    private String peopleCount;

    private String businessScope;

    private String logo;

    private String isDelete;
    /**备注**/
    private String remarks;

    @TableField(exist = false)
    private List<LuLianProduct> products;
    @TableField(exist = false)
    private List<LuLianCgsOrder> orders;

    /** 经营期限类型 */
    private String enterpriseTermType;

    /** 经营期限短期的开始时间和结束时间 */
    private Date enterpriseTermStart;
    private Date enterpriseTermEnd;

    /** 创建人 */
    private String creator;

    //小程序版本 1为普通版 2为高级版
    private Integer miniProgramVersion;

    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String vrGif;
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String hyMainPic;

    /**
     * 是否是政府 0或null企业  1是政府
     */
    private String sfZf;

    //套餐过期时间
    private Date expireTime;

    //支付渠道 1微信 2支付宝 3对公转账
    private Integer payChannel;

    /**
     * 公司电话
     */
    private String companyTel;

    /**
     * “山东制造·云上展厅”资质认定
     */
    private Boolean sdzzYszt;

    /**
     * “山东制造·品牌认定”资质认定
     */
    private Boolean sdzzPprd;

    /**
     * 是否是新版名片的试用版本企业数据。1：是，0：不是
     */
    private Integer newCardTrialVersion;

    /**
     * 资质认定类型（'1'：“山东制造·云上展厅”，'2'：“山东制造·品牌认定”）
     */
    private String qualificationRecognitionType;

    /**
     * 资质认定图片
     */
    private String qualificationRecognitionPic;
}